package com.sailfish.springbootdemo.service.db2;

import com.sailfish.springbootdemo.pojo.Result;
import com.sailfish.springbootdemo.pojo.db2.*;

import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface CapacityMatchService {

    List<CapacityMatch> getAll(String data);

    List<PcbSizeParam> getMatchParam(Integer status);

    PcbSizeParam getMatchParamByKey(String paramKey);

    PcbSizeParam getMatchParamByName(String paramName);

    Result insertOrUpdateMatchParam(String data);

    Result deleteMatchParam(Integer id);

    List<CapacityMatchData> getMatchFactoryValue(List<Integer> sonFactoryInfoList, int type);

    List<PcbSizeFactoryValue> getPcbMatchFactoryValue(Integer sonFactoryInfoId);

    Result insertOrUpdateMatchFactoryValue(String data);

    Result insertOrUpdateMatchFactoryValue2(String data);

    Result deleteMatchFactoryValue(Integer id);

    Result outputParamTemplate(String data) throws IOException;

    List<FactoryInfoVM> getAllCapacityInfo();

    Result getBoardList(String version,String searchK,String searchV);

    Result submitApplication(String data);

    List<PcbOpenCapacityAuthentication> getAuthencationData(Integer status);

    List<PcbOpenCapacityApproveProcess> getApproveProcess(Integer dataId);

    Result outputMatchFactoryValue(List<Integer> sonFactoryInfoList, int type);

    Result outputBoardList(String version);
}
